VPATH  = @srcdir@
srcdir = @srcdir@
top_builddir = @top_builddir@

include $(top_builddir)/Makefile.common

TARGET = $(top_builddir)/bin/as2gbmap

all:
	cp $(srcdir)/as2gbmap.py $(TARGET) && chmod +x $(TARGET)

install: all installdirs
	$(INSTALL) $(TARGET) $(DESTDIR)$(bindir)/`echo as2gbmap|sed '$(transform)'`

installdirs:
	-$(INSTALL) -d $(DESTDIR)$(bindir)

uninstall:
	rm -rf $(DESTDIR)$(bindir)/`echo as2gbmap|sed '$(transform)'`

include $(srcdir)/clean.mk
